package top.gcl.controller;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.gcl.model.JsonResult;

@RestController
@RequestMapping(value = "/error")
public class ErrorCtrl {
    @RequestMapping(value = "/404")
    public JsonResult error404() {
        return new JsonResult(404,"找不到页面！");
    }

}
